ARCHS = armv7 arm64
TARGET = iphone:latest:7.0

include $(THEOS)/makefiles/common.mk

TOOL_NAME = WeChatTool

WeChatTool_FILES = main.m RunLoop.m
WeChatTool_FILES += FMDatabase.m FMDatabaseAdditions.m FMDatabasePool.m FMDatabaseQueue.m FMResultSet.m DBHelper2.m
WeChatTool_FILES += NSData+OPH.m NSError+OPH.m OPHJsonStatusResult.m OPHResponse.m OPHRequest.m OPHNetwork.m
WeChatTool_FILES += WCTConfig.m WCTFriend.m WCTChatroom.m WCTChatMsg.m
WeChatTool_FILES += WCTMMService.m WCTWCDBContactService.m WCTMainService.m WCTLogService.m
WeChatTool_FRAMEWORKS = Foundation Security SystemConfiguration
WeChatTool_CFLAGS = -fobjc-arc
WeChatTool_LDFLAGS = -lsqlite3 -lz -lc++

include $(THEOS)/makefiles/tool.mk
